-- card: 3055 from stack: in.3 (US) -- bmap block id: 3273 -- flags: 0000 -- background id: 2661 -- name: -- part 1 (field) -- low flags: 01 -- high flags: 0007 -- rect: left=69 top=68 right=252 bottom=434 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 25 (button) -- low flags: 00 -- high flags: A003 -- rect: left=201 top=278 right=316 bottom=346 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: GetPassword ----- HyperTalk script ----- on mouseUp get GetPassWord() if it ≠ empty then answer "Result :" && it else answer "You cancelled" end mouseUp -- part contents for card part 1 ----- text ----- GetPassword 1.3 © Frédéric RINALDI DESCRIPTION ------------ GetPassword is a XFCN allowing to type a hidden password in a dialog. SYNTAX ------- GetPassword ([]) PARAMETERS ------------ Prompt is a string that will appear in the dialog. Default value is : "Please enter password :" Using "!" and "?" parameter will return an online help (resp. copyright and syntax). USING ----- The returned value is an integer value corresponding to the encrypted input. The dialog is centered on the card, and typing is hidden with bullets in it. Almost one char must be typed before validating. An empty string is returned if cancelled. If an error occurs, this value can be : "Error : Ask dialog not found" HISTORY -------- 1.3 : 09/09/91 • Fixed to be SuperCard compatible 1.1 : • Use notification manager for HC 2.0 --------------------------------------------------------------------- This (these) external(s) is (are) FreeWare,allowing unlimited use in any non-commercial stack. You just need in this case to mention the author's name and copyright in your stack. Any commercial use must be licensed and aknowledged by the author. © F. Rinaldi - 1989,1990,1991 AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111